﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WeiXinWeb.Models
{
    public class TruckCompany {
        [JsonProperty("id")]
        public string Id { get; set; }

        [JsonProperty("name")]
        public string Name { get; set; }

        [JsonProperty("v_owner")]
        public string owner { get; set; }

        [JsonProperty("n_tel")]
        public string tel { get; set; }

        [JsonProperty("n_password")]
        public string password { get; set; }

    }

    public class Truck {
        [JsonProperty("id")]
        public string Id { get; set; }

        [JsonProperty("parentId")]
        public string ParentId { get; set; }

        [JsonProperty("truckNumber")]
        public string TruckNumber { get; set; }

        [JsonProperty("driver")]
        public string Driver { get; set; }

        [JsonProperty("driverTel")]
        public string DriverTel { get; set; }

        [JsonProperty("truckCompany")]
        public string TruckCompany { get; set; }
    }
}